<template>
    <div id="app">
      <h1>{{newsData.name}}</h1>
      <router-link to="/home">Home</router-link> |
      <router-link to="/about">About</router-link>
    </div>
</template>

<script>
export default {
  name: 'NewsDetails',
  data() {
    return {
      newsData: {
        name: '全球去美化趋向持续走高',
        path: '/user/details',
      },
    };
  },
};
</script>

<style scoped>

</style>
